package com.lcifn.spring.aop.advice;

import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.support.DelegatingIntroductionInterceptor;
import org.springframework.stereotype.Component;

import com.lcifn.spring.aop.bean.Game;

@Component
public class BrowserIntroductionAdvice extends DelegatingIntroductionInterceptor
										implements Game{

	@Override
	public Object invoke(MethodInvocation mi) throws Throwable {
		return super.invoke(mi);
	}
	
	public void start() {
		System.out.println("start a game");
	}

}
